# @Time : 2021-05-29 10:39 

# @Author : baldSun

# @File : children.py 

# @Software: PyCharm

import abstract

class Child1(abstract.Father):
    def __init__(self, x, y):
        abstract.Father.__init__(self, x)
        self.y = y

    def method(self):
        print('hi '+str(self.x))
if __name__ == '__main__':
    c = Child1(1, 2)
    c.method()